//获取用户信息
// @ts-ignore
import axiosReq from '@/utils/axios-req'

//登录
export const registerReq = (subForm:any) => {
  return axiosReq({
    url: '/register/',
    data: subForm,
    method: 'post'
  })
}

export const getUsersReq = () => {
  return axiosReq({
    url: '/users/',
    method: 'get'
  })
}
